#include "Stack.h"

void test()
{
	Stack s;
	StackInit(&s);
	StackPush(&s, 1);
	StackPush(&s, 2);
	StackPush(&s, 3);
	StackPush(&s, 4);
	StackPush(&s, 5);
	//for (int i = 0; i < s._top; i++)
	//{
	//	printf("%d ", s._a[i]);
	//}
	//printf("\n");
	//StackPop(&s);
	//StackPop(&s);
	//StackPop(&s);
	//StackPop(&s);
	//StackPop(&s);
	//int top = StackTop(&s);
	//int size = StackSize(&s);
	//printf("%d ", top);
	//printf("%d ", size);
	StackDestroy(&s);
}

int main()
{
	test();
	return 0;
}